/**
 * Created with IntelliJ IDEA.
 * User: skyline{http://my.oschina.net/skyline520}
 * Date: 12-11-19
 * Time: 上午10:30
 * To change this template use File | Settings | File Templates.
 */
Ext.define('Airways.store.system.roleoperation.OperationManageStore',{
    extend:'Ext.data.TreeStore',
    model:'Airways.model.system.operation.OperationManageModel',
    nodeParam:'operationId',
    autoLoad:false,
    sortable:true,
    sorters: [{
        property: 'menuIndex',
        direction: 'ASC'
    }],
    proxy: {
        type:'ajax',
        url:basePath+'system/roleoperation/queryOperationCheckedTree',
        reader: {
            type: 'json'
        }
    },
    root: {
        id: '-1',
        operationId:'-1',
        text: '虚拟根节点',
        expanded: true,
        rootVisible:true
    }
});
